from django.conf.urls import  url
from users import views


urlpatterns = [
    url(r'^login/', views.userlogin, name='userlogin'),
    url(r'^logout/', views.userlogout, name='userlogout'),
    url(r'^verificationcode/', views.verificationcode, name='verificationcode'),
    url(r'^list/', views.userlist, name='userlist'),
    url(r'^add/', views.useradd, name='useradd'),
    url(r'^search/', views.usersearch, name='usersearch'),
    url(r'^del/(?P<pk>[0-9]+)/$', views.userdel, name='userdel'),
    url(r'^change/(?P<pk>[0-9]+)/$', views.userchange, name='userchange'),
]